package com.happy.cat.project.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.happy.cat.framework.aspectj.lang.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


/**
 * 用户提现申请对象 user_apply_withdraw
 * 
 * @author verne
 * @date 2020-08-29
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("user_apply_withdraw")
@ApiModel(value="用户提现申请对象", description="用户提现申请对象数据")
public class UserApplyWithdraw implements Serializable {

private static final long serialVersionUID=1L;


    /** id */
    @ApiModelProperty(value = "${comment}")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 单号 */
    @Excel(name = "单号")
    @ApiModelProperty(value = "单号")
    private String code;

    /** 提现账号 */
    @Excel(name = "提现账号")
    @ApiModelProperty(value = "提现账号")
    private String accountName;

    /** 提现金额 */
    @Excel(name = "提现金额")
    @ApiModelProperty(value = "提现金额")
    private Long takeMoney;

    /** 使用宠爱值 */
    @Excel(name = "使用宠爱值")
    @ApiModelProperty(value = "使用宠爱值")
    private Long uasFavor;

    /** 剩余宠爱值 */
    @Excel(name = "剩余宠爱值")
    @ApiModelProperty(value = "剩余宠爱值")
    private Long leftoverFavor;

    /** 提现费率 */
    @Excel(name = "提现费率")
    @ApiModelProperty(value = "提现费率")
    private Long rate;

    /** 
到账金额 */
    @Excel(name = "到账金额")
    @ApiModelProperty(value = "到账金额")
    private BigDecimal arriveMoney;

    /** 
提现渠道 0app/1微信 */
    @Excel(name = "提现渠道 0app/1微信")
    @ApiModelProperty(value = "提现渠道 0app/1微信")
    private Integer channel;

    /** 申请时间 */
    @Excel(name = "支付时间/到账时间" , width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 状态 0待审核/1通过/2不通过 */
    @Excel(name = "状态 0待审核/1通过/2不通过")
    @ApiModelProperty(value = "状态 0待审核/1通过/2不通过")
    private Integer status;

    /** 审核时间 */
    @Excel(name = "审核时间" , width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "审核时间")
    private Date applyTime;

    /** 审核意见 */
    @Excel(name = "审核意见")
    @ApiModelProperty(value = "审核意见")
    private String applyText;

    /** 审核人 */
    @Excel(name = "审核人")
    @ApiModelProperty(value = "审核人")
    private String applyBy;
}
